package com.example.modulesproject;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.Toast;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        String debug = BuildConfig.debug;
        boolean isRelease = BuildConfig.isRelease;
        if(isRelease){
            Toast.makeText(this,"当前是上线测试",Toast.LENGTH_SHORT).show();
        }else {
            Toast.makeText(this,"当前是模块化测试",Toast.LENGTH_SHORT).show();
        }
    }
}
